import { defineStore } from 'pinia'
import { ref } from 'vue'
import { store } from '@/store'

export const useTabStore = defineStore('tab', () => {
  const tabList = ref([])

  return { tabList }
})

// 非setup
export function useTabStoreHook() {
  return useTabStore(store)
}
